package cn.zsb.zsb.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author oldliu
 * @since 1.0
 */
@Configuration//=>bean.xml
public class AppConfig {

    @Bean//<bean id="xxxxxx"
    public ZsbDataSource getD() {
        ZsbDataSource d = new ZsbDataSource("192.151.3.3", 5555, "Driver");
        return d;
    }
}
